package com.caocaog.market.pay.syb.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class SybDto {
    //交易金额
    @ApiModelProperty(value = "交易金额,单位为分")
    long trxAmt;
    //商户交易单号
    @ApiModelProperty(value = "商户交易单号")
    String reqSn;
    //交易方式
    @ApiModelProperty(value = "交易方式,W01:微信扫码支付,W02:微信JS支付,W06:微信小程序支付,A01:支付宝扫码支付,A02:支付宝JS支付,A03:支付宝APP支付,Q01:手机QQ扫码支付,Q02:手机QQ JS支付,U01:银联扫码支付(CSB),U02:银联JS支付")
    String payType;
    @ApiModelProperty(value = "订单标题")
    String body;
    @ApiModelProperty(value = "备注(禁止出现+，空格，/，?，%，#，&，=)")
    String remark;
    @ApiModelProperty(value = "支付平台用户标识")
    String acct;
    @ApiModelProperty(value = "有效时间")
    String validTime;
    @ApiModelProperty(value = "交易结果通知地址")
    String notifyUrl;
    @ApiModelProperty(value = "支付限制")
    String limitPay;
    @ApiModelProperty(value = "证件号,只支持支付宝")
    String idNo;
    @ApiModelProperty(value = "付款人真实姓名,只支持支付宝")
    String trueName;
    @ApiModelProperty(value = "分账信息")
    String asInfo;
    @ApiModelProperty(value = "微信子appId,只对微信支付有效")
    String subAppId;
    @ApiModelProperty(value = "订单优惠标识,只对微信支付有效")
    String goodsTag;
    @ApiModelProperty(value = "优惠信息")
    String benefitDetail;
    @ApiModelProperty(value = "渠道门店编号")
    String chnlStoreId;
    @ApiModelProperty(value = "门店号")
    String subBranch;
    @ApiModelProperty(value = "拓展参数")
    String extendParams;
    @ApiModelProperty(value = "终端ip")
    String cusIp;
    @ApiModelProperty(value = "花呗分期,只支持支付宝花呗分期")
    String fqNum;
    @ApiModelProperty(value = "原交易单号")
    String oldReqSn;
    @ApiModelProperty(value = "原交易流水")
    String oldTrxId;
    @ApiModelProperty(value = "交易流水")
    String trxId;
    @ApiModelProperty(value = "支付授权码")
    String authCode;
    @ApiModelProperty(value = "终端信息,json字符串格式:{termNo:终端号,deviceType:设备类型}")
    String termInfo;

    String orderId;

    BigDecimal payMoney;
    /**
     * 下单者的小程序APP ID
     */
    private String appid;
    /**
     * 下单者的商户ID
     */
    private String cusid;


};
